change flag for reconnect
copy libs
add test with appleScript
copy test for macOs target