adjust for NODE_ENV var in config