cleanup into deps files and fixed multiple files to upload