Added staleOnly (amongst other enhancements) to increase task speed