added cookie script