simplify cluster scripts