Added rebuild script