add autoload cookies to entry functions