Tweak a shell script