Cleaning files and changing settings to production mode.