some shell script for a friend in need