Ok so, i have this addon, that runs as a dependency for almost all my other addons
http://pastebin.com/jUcx1dy8
It's been serving me well for several years. The thing is, i'm in the process of redoing my entire UI, and at the same time, move all my addons into one.
That part is almost complete and works great exept for this one.
Because it was a dependency for everything else, i was guaranteed that it would be executed first but not anymore since my UI is now one big single addon.
In short, i need a way to execute this first before any other code. I've tried several different ways, but all failed, either silently (no error but no pixel adjustment) or with an error (attempt to perform arithmetic on upvalue "ScaleFix")
This isn't very clear i know and i'm sorry about that