changed scp to give some more info on error