added attributes and changes to allow package specifications