#3 wired up different urls dependant on the configuration (fixes #3)