Insert is mostly working. Just need to work out processing the Id's