function save_state(s)
    save(fullfile(mpm.install_location(), 'state'), '-struct', 's');
end
