Add imports and alternative tarball parsing from my previous attempt