Restore build script