Fix: take $rooturlrep from config for do survey