Adding UUIDs to environments; added environment mapping so that behavior can be customized per environment.