Change last argument to basename (of output).