SYNC url adjusted and EXPIRY check added to process_xml()