adding application attribute to metadata