added debug flag for start_nameserver.sh