some ruby script examplecode