Clean up script, add usage instructions, make noninteractive usage easy