record input2model scripts