sitemap-check.py: added hashbang; moved global vars out of the if module condition