Switch to use correct method for checking if we're connected.
drwxr-xr-x - lib
-rwxr-xr-x 1490 picture.pl