multi-purpose ruby scripts