Applescript – Quit or Launch Application script.. ( Revised )

In my  previouse  post :  Applescript – Quit or Launch Application if another is or is not running

The script was limited to one master app. The one that if running or not  determines if the slave app launches or quits.

This new script allows you to add as many apps to the master app list and also to the slave list.