i have a UE script with beforeSubmit and afterSubmit entrypoints, and I need to pass some data from one to the other. I've handled this in the past by declaring variables outside the scope of the entrypoints, and then assigning them values in one and reading them in the other as needed