PLGAJS-83 : Allow to change the task to run