Support settings.json rather than env variables