Add options to upload to test server, add option for source tag, use real command line parameter parsing.