upload changes

change the upload directory
fixed the comment out directory read (bug)
modified index