getting url from cfg