reordered scripts, added dpkg restarter