submit works for one or the other depending on which button is clicked, still wont upload both at once, though.