Minor changes following on from pull request 401

- Documentation updates
- Tidy up fixup_scripts
- Make the activate_this code for relocatable scripts work on Python 3