Plugin Toggle / Script Names Have Changed

The following line breaks in v_4 while it works in v_3.
plugin toggle "Power P Chains" 0
Do we have an option like follows:
if { [plugin exists "Power P Chains"] } {
# Load
}

Some of the plugin names have changed. For your script, you can do it like this:

{codecitation} if {[ lsearch [ plugin catalog ] "Power P Chains" ] >= 0 { # ( which is now named "Power Sequencing" in v4 ) } {/codecitation}

or this:

{codecitation} catch { plugin configure "Power P Chains" -compareDomainNames 0 } catch { plugin configure "Power Sequencing" -compareDomainNames 0 } {/codecitation}