diff --git a/index.js b/index.js index 4c1d8b1..2c66a39 100644 --- a/index.js +++ b/index.js @@ -311,6 +311,7 @@ const videoExport = async (options) => { log(padCenter('Browser', 'OK'), options.verbose) /* If a custom script is specified and exists */ + if (options.script) options.preparePage = options.script if (options.preparePage) { let customScript