added initialstate option
Merge pull request #64 from acrobat/extra-option

added initialstate option