v3

Tested for connectivity issues.
Final version.