password encryption script broken after agent upgrade