WWW-483: Parameterize hard-coded variables. Update command line parsing.