Now writing correct wcs info to header.