Insert self tag in import