add autoload cookie for interactive commands
Merge pull request #1 from syohex/autoload-cookie

add autoload cookie for interactive commands