working on script file