[pergola] script for running pergola for users, with rules (Cedric)