Changed index to production mode