Send $dbParams into saveScriptAsRun