adding full rebuild script