use uploaddir in app root