Corrected LogParameter function in run.py