# Add the Script Block and References

To access the data, a Script block must be used.

1. In the Designer, go to Project - Settings.
2. Click Scripts.
3. Click Edit and add the followings:
   Cognex.Designer.DeepLearning.Controls.dll
   Cognex.Designer.DeepLearning.dll
   Cognex.Designer.DeepLearning.IDE.dll
   Cognex.Designer.DeepLearning.IDE.VisionPro.dll
   Cognex.Designer.DeepLearning.VisionPro.dll
   Cognex.VsionPro.Core.dll
   Cognex.VisionPro.dll
   netstandard.dll
   System.Collections.dll
   System.Data.dll
   System.Reflection.dll
   ViDi.NET.dll
   ViDi.NET.interfaces.dll
4. Click Plus icon to manually add the followings:
   ViDi2
   Cognex.Designer.DeepLearning
   System.Reflection
5. Click OK if everything mentioned above was added.