Move the chmod to the script file.