added code to pull correct warehouse from region