I know a zilch of bash script. Feel free to modify at will.