$content = [System.IO.File]::ReadAllText("index.html", [System.Text.Encoding]::UTF8)

# Fix lingering Bangalore
$content = $content -replace '(?i)\(KIAL\), Bangalore', 'Chennai'
$content = $content -replace '(?i)\(KIAL\)', ''

# Fix grammar "opposite the Perumattunallur"
$content = $content -replace '(?i)directly opposite the Perumattunallur, on Nellikuppam Road', 'in Perumattunallur, on Nellikuppam Road'
$content = $content -replace '(?i)directly opposite the Perumattunallur and within minutes', 'in Perumattunallur and within minutes'
$content = $content -replace '(?i)Nellikuppam Road, Perumattunallur and seconds from GST Road', 'Perumattunallur, just off GST Road'

# Fix the footer address
$content = $content -replace 'Nellikuppam Road<br>North', 'South Chennai'
$content = $content -replace 'Opposite KRN Complex, Guduvanchery<br>GST Road \(NH-207\)<br>North', 'Nellikuppam Road, Perumattunallur<br>Guduvanchery, Chennai<br>South Chennai'

[System.IO.File]::WriteAllText("index.html", $content, [System.Text.Encoding]::UTF8)
