sample ruby scripts