add routine to move security agent