set main scheme to be a shared scheme