Start work on using metadata.xml for local flags