fix scripts and add HFR recording