Fix extracting
Merge pull request #3 from samrg472/master

Fixes extracting