Added execution by input ./directory.rb