Setting up the checked and production modes