added set component script
fixed conflict