moved config import outside Machop