Fixed sh scripts
Throw exception on error output at command line utils
Fixed recommendation test issues