Cleaned up script file