Fixes to get sanity check to run on linux.

    Also show all commands run by the run script so failures will be apparent.