Add conditional stanza to make featurePreview.py importable