abstracted cmdstr for url.