Added compatibility to previous wps.xml format