Check for os when loading .osx file