config.xml and local_manifest fixes