udpated createModelLinks.py