Fixing feature_extractor and adding log files