Added optional appname declaration in metadata.xml