get settings from env