Playing around with ruby scripts