Adding molecule tabs works. Now need to save script so that selecting a different tab causes the molecule to switch.