Added .cfg functionality