Many thanks. That's an ingenious shell script, no mucking with the update alternatives stuff (which did not work for me anyway). The script worked like a charm.