add imports and update config syntax