bug fixes - fixed bug adding duties, also task template to material and assembly groups