Fixed issue with uploading permissions.
Fixed some bugs when trying to get prod to work. Deleted wiped database and deleted files.