Revert "Change global variable to local for AGN Safe Zone"

This reverts commit 9d6ece8563558f5a76aea4fd0bbf8e24449b7be8.