When used at the beginning of a script, the ReferenceField function helps BarTender accurately analyze your script when trying to determine how often it should be run. This prevents BarTender from skipping reference to a field, especially when conditional statements are used in your scripts.