> I think what might work is inlining a function declaration that uses return statements inside itself, and then making the script itself end > with my_fn(input, custom) This is the solution I have seen used most often.