Fix tcpdump function, it should be run as root
Trivial: fix agent.sh