Changed epsgcode variable to authid string. This will let us use user defined CRS.