simplify profile script