Add rebuild script