add script to toggle alerts and drop cookie