General ruby scripts