read default configuration based on env