Adapt create_documents.sh to Linux
Based on pre-backtojson OParl