Yes you want defs at the top so they get included before anything else. Let me know how
you get on with ICD2. Maybe I'll knock the dust off mine & give it a try some day.

Haven't used mine in several years. Good luck.