Update scp.cpp