Tweaked the wiki-docs setup script to work in more scenarios