Fixed permission denied error for super users
script to send emails to pb agents.