Added dev environment detection