updated cancel_task to use bash in notes