adding correction to script