Well, it's impressive. The only suggestion I have at a glance is to test the Quick Input method for the Stratagems. I find the performance and consistency is just as good but more importantly it's much easier to maintain for development. Here's an example of what that could look like for Resupply...
Execute command, 'Begin' (and wait until it completes)
Quick Input, '[arrowD][arrowD][arrowU][arrowR]'
Execute command, 'End' (and wait until it completes)