BUG: addressed pb if data are 4D
REF: now using $PYTHONPATH environment variable