Added scanning in OSX and fixed image issue when connecting to a linkbot