Configuring environments