Added directory.rb and script