creating script file.