fixed bugs on commands.rb
added sample project