Fixed captureExceptions
Added Exception/DuplicateScriptParameter