change the way to activate package