finalize gs2.sh