Add dinamic registration of tasks