added sql to push data to production tables