Made some changed to script file