fix directory for swap files and perlmodules lookup removed