ENH: Addition of an option in each script to specify the log directory