Write save_peristates.
Write save_peristates_script.