modifications to how to handle standalone.xml