Changed config.json to environmental variables