Upload directory script for wikitools