add output fromcode to RENAME