export plots and io