Add the --print option for scripts