reworked commands of generating Names for Product/Document