replaced == operator for string comparsion in npc check with boost algorithm to get case insensitive check.