use environment vars to set engine and structure