make possible to use restart with autostart and cookies

Pulling in useful forks of this project