tweak shell script