some small ruby scripts