Update invoke tasks to work with invoke 0.8