urls from configuration are used now. switching between urls works!