change mscp.cpp to the original mscp.c except for 'friend' stuff