Add @tasks hook, debug