Removed ties to chinese repos and added custom provisions