adding cookie script to all pages