fix the script execution.