@amit Thanks, I am not sure if the code is good but it works. I am feeling my way slowly round how some of these pieces fit together mostly by trial and error. Good fun.