assorted ruby scripts