Made uploads work on prod. Not dev though.