generation of shell scripts working