support whyrun mode

need to test, but this should fix #49