Add exclude and prune to global parameters