modified pyton scripts to read environment variable $BADSTRIPFILE