adding script to delete applications