added check for dev environment