various tiny, messy ruby scripts