A simple cookie script