Add debug version of urlexpand.py, timeout to urlexpand.sh