check than urls is defined before run