Adds support for multiple environments