Variant fixes

Fixes issues with for ScriptInterface Variants