diff --git a/iexcode/instruments/Logfile.py b/iexcode/instruments/Logfile.py
index cc949dc9a4ded34c86f7cbbb0710e133c6e0b400..7f992a5862b644df2dbeafa111552a35d92ec27f 100644
--- a/iexcode/instruments/Logfile.py
+++ b/iexcode/instruments/Logfile.py
@@ -35,6 +35,7 @@ def log_update(d=None,**kwargs):
 def log_name_set(file_name):
     try: 
         iex.BL.mda.log.name_set(filename=file_name)
+        iex.BL.mda.filename = filename
     except:
         print('No logfile name change')
 
diff --git a/iexcode/instruments/Octupole.py b/iexcode/instruments/Octupole.py
index 569614f95bf1519206da71f31c1f24efc98314ba..77b2476b354ecf86a40a1425e0fd7bb5a6884477 100644
--- a/iexcode/instruments/Octupole.py
+++ b/iexcode/instruments/Octupole.py
@@ -353,8 +353,8 @@ def _Octupole_log_dictionary():
 
     Previously: scanlog
     """
-    tey.get()
-    mesh.get()
+    tey.get(verbose=False)
+    mesh.get(verbose=False)
     #header: pv, format
     d={
         "x":(Octupole_Motors.get('x'),".2f"),
diff --git a/iexcode/instruments/m3r.py b/iexcode/instruments/m3r.py
index 04aef80dfdf60c9b02794b78a0cf99afec6f1975..5de10c04d71bf7fd159652a549b15810217e65dc 100644
--- a/iexcode/instruments/m3r.py
+++ b/iexcode/instruments/m3r.py
@@ -116,22 +116,22 @@ def m3r_switch_branch(branch,verbose=True):
 ################################             M3R alignment             ##############################
 ##############################################################################################################
 
-def m3r_centroid(t=None,q=1): 
+def m3r_centroid(acq_time=None,verbose=False): 
     '''
     Return position of centroid, sigma, m3r:RY (mirror pitch)
     Optional argument t to set camera intergration time.
     '''
-    if t is not None:
-        caput(M3R_cam1+'AcquireTime',t)
+    if acq_time is not None:
+        caput(M3R_cam1+'AcquireTime',acq_time)
     else:
-        t=caget(M3R_cam1+'AcquireTime')
+        acq_time=caget(M3R_cam1+'AcquireTime')
     position =  round(caget(M3R_stats+'CentroidX_RBV'),2)
     sigma = round(caget(M3R_stats+'SigmaX_RBV'),2)
     intensity = round(caget(M3R_stats+'CentroidTotal_RBV'),2)
     m3rRY = round(caget(M3R_pitch),4)
-    if q != None:
+    if verbose:
         print('(position, sigma, total intensity, integration time (s), mirror pitch):')
-    return position,sigma,intensity,t,m3rRY
+    return position,sigma,intensity,acq_time,m3rRY
 
 def _m3r_align_start(pxl=None):
     if pxl == None:
diff --git a/iexcode/instruments/scanRecord.py b/iexcode/instruments/scanRecord.py
index be573f43d5b63e6c5fdfb357713a921de00aff71..f0b2d4befac7ee249a810ecb88da2f99746dd84a 100644
--- a/iexcode/instruments/scanRecord.py
+++ b/iexcode/instruments/scanRecord.py
@@ -73,7 +73,7 @@ def mda_user_name():
     """
     return iex.BL.mda.user_name()
 
-def mda_user_name():
+def mda_run_cycle():
     """
     returns the run cycle form the mda filepath
     """