Robustify physio conversion script to deal with the hard reality