shell script generation