added common.sh, common functions for shell scripts