general build out of basic files, had error issue with writing to logs, check