added EnvironmentCheck and output