Set the same writer for the called script as the calling one so output
not lost