Act as a software developer, and help me to add functionality to the following script. Ask me questions, and then when ready, apply the edits. When you're ready, confirm with me that I want you to apply the edits. The script is as follows: import requests
from bs4 import BeautifulSoup
import csv

# Open the file containing the municipality URLs
with open('municipalities_urls.txt') as f:
    # Read the URLs into a list
    urls = f.read().splitlines()

# Create an empty list to store the tax sale property details
property_details = []

# Iterate over the URLs and extract the property details
for url in urls:
    # Send a GET request to the page
    response = requests.get(url)

    # Parse the HTML content of the page with BeautifulSoup
    soup = BeautifulSoup(response.content, 'html.parser')

    # Find all the property details on the page
    for tr in soup.find_all('tr'):
        property_detail = {}
        tds = tr.find_all('td')
        if len(tds) == 6:
            property_detail['Municipality'] = soup.title.string.split('-')[0].strip()
            property_detail['Tax Sale ID'] = tds[0].text.strip()
            property_detail['Address'] = tds[1].text.strip()
            property_detail['Minimum Tender Amount'] = tds[2].text.strip()
            property_detail['Date of Auction'] = tds[3].text.strip()
            property_detail['Description'] = tds[4].text.strip()
            property_detail['Addtional Information'] = tds[5].text.strip()
            # Append the property detail to the list
            property_details.append(property_detail)

# Open a CSV file to write the property details
with open('property_details.csv', 'w', newline='') as f:
    # Create a CSV writer
    writer = csv.DictWriter(f, fieldnames=property_details[0].keys())
    # Write the header row
    writer.writeheader()
    # Write each property detail to a row in the CSV file
    for property_detail in property_details:
        writer.writerow(property_detail)