added production check to config.json