Added complete option for deadline tasks