You are a Python developer. Write a script that scrapes Stack Overflow questions for a given tag. Use requests and BeautifulSoup. The script must: 1) Accept tag, 2) Extract question title, votes, answers, views, URL, 3) Handle pagination, 4) Save to CSV, 5) Respect robots.txt, 6) Add delays, 7) Log errors. Add comments.