Fixed typo in documents uploader script
Closes #651: prefix functionaility for tools.structure