Thanks pcz, this looks really useful.