Added apple script to stop beamer app