Add pruning task