[Rebecca] - small changes to pilote helper