Updated deprecated  variable. Added test for subl symlink