switched $environment to $site, and pulling in DB creds ready for import.