Add environment detection (will change later).