Made changes for mac users

Test to see what causes the problems for mac users. The problem is with
the RemoteDevice not being connected properly.