add extract features script