Scripts fixes

This is two fixes to the scripts.

Firstly, explicitly use bash.  As mentioned in pull request #97, on systems that actually have sh, and sh isn't just a symlink to bash, these scripts fail.

Secondly, the populate script had a call to 'realpath'.  That executable isn't on many systems, and it isn't even necessary for the script to work, so I removed it.