--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,14 @@
 PATCH=gen_patch/vsdsp_patch.hex
 HEX_N_PATCH=stm8_oggstreamer_patched.hex
 BIN_N_PATCH=stm8_oggstreamer_patched.bin
+VERSION_INFO=version.txt
 
 all: $(SOURCES) $(EXECUTABLE)
 	
 $(EXECUTABLE): $(OBJECTS) 
 	$(CC) $(LDFLAGS) $(OBJECTS_LINK) -o $@
 	packihx $(EXECUTABLE) > $(EXECUTABLE_HEX)
-	srec_cat -disable_sequence_warnings $(EXECUTABLE_HEX) -intel $(PATCH) -intel -o $(HEX_N_PATCH) -intel
+	srec_cat -disable_sequence_warnings $(EXECUTABLE_HEX) -intel $(PATCH) -intel $(VERSION_INFO) -binary -offset 0xFFE0 -o $(HEX_N_PATCH) -intel
 	srec_cat -disable_sequence_warnings $(HEX_N_PATCH) -intel -offset -32768 -o $(BIN_N_PATCH) -binary