use dotenv instead of settingslogic