Well, you could do the two different recordings, then upload them into the same script button and use IF conditions to decide which one to run.
When uploading the recorded script, there is an option to append the second recording to the existing script.
Unless I misunderstand your scenario, this should work...