Fix a bug on the run script