Repackage and embed dependencies