shell script
updated script