consider calling once at the end of the script for each wiki?