Added eeprom write capabilities