Refining and fixing the autopackage