Writing data to flash memory; a practical solution?

You can use two sketches. One loads the data in eeprom and the other is the main one that uses the data you programmed.