doing configure overlay on the first and last call