brew: move prune to end of script