added extraction script