expose printEnv method