general ruby scripts