param: rename lp function and variable from "setprimarygroup_script" to "set_primary_...