Ending changes to support upload source judging