updates to xml to use state as inQueue instead of attribute