Updated invocation condition.
Merge pull request #1 from collinjsimpson/master

Updated invocation condition.