changed commenting in directory.rb