modify lifecycle of the scan manager