Added event when a script is reloaded or a screenshot is taken