Change encode from ShiftJIS to UTF8 in main.rb
Add "def" in director.rb