Update printpath

added options for PERL5LIB and LD_LIBRARY_PATH