Make Upload work in prod