More changes to PyxImport to try to debug issues on cluster