run script bugfix