setup for automatic config for urls