Update build script to use private keys