Add DEBUG environment variable for scripts.