Altered import to accept anchors. Not working for import yet.