fix dependencies on ScriptOptionalParameterList