Change make_change function & modify some perforce functions