Added rebuild script.