move common.sh to util dir