Cookies options added to attributes and template