Hacky fix for persistent global

Sorry Kiran… But If you’d used a class based architecture I wouldn’t
have had to…