Added note that this is an old script from 2006. You have been warned :-)