Create replace references tag

fixing issue #9