Modify paths and generate proper server.xml