completed local install
added an extraction function