script enhancement