@Erwin: thanks for your prompt feedback and suggestions. Unfortunately I'm not familiar with Python coding too and so starting over seems daunting. So for now I would like to stick with Ruby, especially since I could get Matthias suggestion to work.…