Set up variables and imports.