Support for different environments