rebuild script & changes needed to patch 9.0.1 build