I figured it out, I was stupid and didnt read the part where unique ID had to be between 000000-ffffff. Kept filling it with values greater than that, and it would spit out the generic title ID, causing my issue.
Thanks very much for this, works great. 2 thumbs up.