add extract script