Add versions to gemspec.
Add tree dumping and exec to command.