Prepare to swap out modules