added script to extract features