Changed cookie script