added amazon upload successfully
uploads now work
updated migration to fix dodgy tables