move the assignment out of a function, so that it wouldn't happen in a subshell
Attach a file by drag & drop or click to upload