Resolve macro to actual script invocation