MED and WED are two different shoes!
But, I suppose that you don't have WED, because you are using Lite-C.
So, we need the ent_create way to go.
What are the error messages do you get, and do you mind to copy paste the code here? Its not that long for now, right?
OT, @ George, I'm a big fan of checklists, I need a list to find my lists though!
But, I know that's not the fault of the system of making lists, but my own fault of organization.