Fix scp working correctly