make sure checks are in a doFirst
Merge pull request #5 from rspieldenner/master

make sure checks are in a doFirst