Fixed double printing error
Using Ruby CSV library
directory.rb update