simple script correction