Modified index and upload path