If I need the same script to run on two record types and vary just slightly based on which record type triggered it, is it as simple as creating two deployments? How can I know which deployment triggered the script? Is that in the context variable somewhere?