changing sql to dev only