Then put it in addons/addon/lua/ulx/modules?
Putting something in ulx/modules guarantees ULX is initialised, but, it doesn't guarantee that all ULX commands (from other modules) are initialised. That's really important for this to work properly.
Edit: ULX modules are loaded alphabetically. I guess you could name the file zzzzz.lua and then that would work.