If you explicitly need the URScript to be added after all Installation Nodes, it could be considered to be placed inside a Program Node, that should be placed in the robots BeforeStart sequence.
if you are deploying installation nodes you can define your URScript Code as threads or functions which could be called inside your Program Nodes just where you need it so it wont be a problem that they are ordered randomly.