Adding input and input generator ruby script