rebuilds packages