fix bug in command line hack
remove extra print statement in tree walker
Merge pull request #46 from emilyhsia/master

fix bug in command line hack