Scripting with ruby