changed var names in ruby file