Look at the GRASSLINKS code ; I believe it does what you want to do. I think the address is http://www.regis.berkeley.edu/grasslinks or let me know to forward you the code. nicolas boretos systems manager, MAICh