shell script modified