Url setting is hard (or I'm incompetent with string ops)