Add autoload cookie
Merge pull request #1 from purcell/patch-2

Add autoload cookie