Fixes for various tools

See individual commits for details.
Can we remove the changeset_revision and the toolshed argument, I think it is better to store it without these into github.