Changed cookie value to variable