Add some basic documentation for the scripts. Clean up unused switches.