Add run script and modify relation exxtractor