Thanks everyone - this all worked out.