Better syntax for fetching environment from config