works with arbitrary URLs on the command line