Change for consistent use of $sys['site_id']