modified build script to always build the latest version