init now using environment config