Adjust web frontend to respect upload dir as well