Verifies environment.