Fix prep scripts for the tool shed's install and test framework.