added production mode to config