making default url more flexible