added some logging capability so I can check any scenarios STDOUT output in a file (named by its scenario,date etc)