add autoload cookies

Closes gh-7