Fixed Build script