added custom upload path handler