Fixed pageant support.
Merge pull request #140 from jarredholman/pageant

Fixed pageant support.