Better support for locations with spaces.
Syntax fix.
Make it work as a script.

Old version only worked if you sourced the file, no longer the
case. Stick this in your bin and smoke it.
Version bump: 0.0.2