Changed the EPSG back to the parameter instead of a constant.