move cake to cfg file