Added sys_err and sys_log for writing into game log files