fixes to the packaging of files