Tweaking the wms layers on the way out