Re-organize settings.py so SITEURL declared before call to archive configuration.