added argument parsing for messages.dat path and --help