Updated finalize_build.sh for testing.