Python script for ensuring backup policies are applied to all agents