Compile Reference Frame

Discrete scripts doesn't work but they are displayed on the touchscreen…