v4. Added more usage of command-line arguments.