tor: fix sv script. closes #613.