Added custom build script functionality