fix script file