Added logic for PYTHONPATH.