setting appmode setting to production;