added partition extract script