some updates to the EI_IO analysis script