fixing script console