Make some cleaning before packaging