Set listenUrl dynamically