automate install app in osx