Support added for commandline arguments

All args are optional. Url must be fully qualified if passed in via command line.