Fix issues

Fix issue with the log file name
Fix issue with te choice in console menu