adding retag script