common shell script