adding secript to do feature extraction