changing logging generator scrippt