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

# Fix double Shrirams
$content = $content -replace 'Shriram Shriram Shankari', 'Shriram Shankari'

# Fix any stray Park Cubix or Devanahalli in alt texts or remaining images
$content = $content -replace '(?i)Shriram park cubix location map\.jpg', 'Shriram-Shankari -Location.jpg'
$content = $content -replace '(?i)Park Cubix', 'Shriram Shankari'

# Make sure Phone number is present in the form.
# The template form usually has Name, Email, Phone.
# Let's ensure there's a Phone Number field. 
# Usually it's:
# <div class="form-group">
#     <label>Phone Number <span class="required">*</span></label>
#     <input type="tel" name="phone" required placeholder="Your phone number">
# </div>
# Let's check if it's there. The template probably has it, but if not, we can inject it.
# The prompt says: "make sure that phone number label and relevant codes are there"

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