not really a bash script, but very useful