Use target_path instead of target
Extract output_reject_file and output_actual_file