Fix build script
Automated build script