MRI upload improvements

This pull request contains a series of improvements made to the MRI-upload module