Modification of COSMOS Workflow management system