support for different environments