Thanks Iain. Just getting started on this project - I'll pay closer attention to the flags in the future. Glad you caught these errors early on.
Anytime!