@Gary Tierney there is much more to it than searching for the discovery files. Much more difficult is to implement actual loading of the script definition before compilation. So after assessing amount of work we decided to postpone it for a moment. I plan to come back to this topic later.
Thank you for the example anyway, I’ll see if I can incorporate it into our tests as a remainder of the missing functionality.