bash rebuild