Some changes to the app to allow it to correctly create a manifest.xml file