updating config.js to use production, and setting environment variable for production via pre_start action hook