Now automatically set PERL5LIB and PYTHONPATH