Create avg.sh