modify .rb file