modified shellscript