DS-259: adding support for extra attributes in add/script