much cleaner mutt-raising-script