Just combine both of your scripts into one action, and then apply it to the model.