run command for running a shell file & adding a string to end of file performed & tested for unix systems