Added format() function to path, just in case
Debugging statements everywhere
Linkup and linkdown seem to work if the timeout isn't too fast
Most things work except localhost & real ip's