Added a bunch of command line options to make the script more generic.
Attach a file by drag & drop or click to upload