modified scp callbacks