Then this ought to be smarter.. I'll look at it when the main functionality is working..