swapped preprocess for text-replace for building base url between environments