minor correction to script