Fixed logFile function in install function (bash)