Updated for P5, not tested yet.
Fixed bugs with copying git repo to cmsusr and setting up CMSSW. Tested the whole thing.