Fix build scripts, remove rest.xml, add bootconfig.xml