readded the uploadDir to test locally