Fix the script issue