scp command as a function