working shell script