Some bugs in shasum and fixed up scripts