changing logic for detection of dev site