added cabal path, XML_CATALOG_FILES and PYTHONPATH