Add before/after guard pages