Made plot_state object; added high embassy guards