Make detecting shasum better
Add ability to run commands when exiting a directory.
Remove stray echo