basic shell script sketch