Debugging script for making unitage reference