some modification in game and script to read it properly