updating scriptblock param assert
scriptmethods don't support named parameters, as such, verifying names should be optional