fix console scripts