various ruby scripts