added ruby script to simplify testing