created alert script and adding it to all pages