add --inMEmory option to python lod scripts