make_upstream.sh