compiled_variables and opcodes writing/reading working