1.7 update to build script
Finish 1.7