Fixed build script and update version number