setting app mode to production;