-removed redundant test for attributes -minor tweakings
Attach a file by drag & drop or click to upload