adds security clean up instructions at end