Simple Environment Detection