Accept location URL on command line and output correct location