added help messages for command line flags