automating in new_lj_thellier_gui_spd