preprocess: Support source and source2 both