add extraction script