Hello RoyMudie,
Can you provide any example, which information the script should consider? Actually "run script" command is a document property - it is not affected by the chunk selection options, since in the script you can select the chunks in the script.