moving addtask macros to PWGCF