Simplify trampoline scripts