Adding support for multiple environments.