config based on env