to the head of the map script would probably do the trick however I don't know whether the map scripts run firstly or not. You have to try it yourself in order to see if there's an easier way to do so.