You can extract the information via the --run-script-after option. There is an example and some documentation here:
--run-script-after