Replaced strcmp with strpos