MBH: attempting to fix file saving