modify compile settings for Production.