steals python director docs and adapts to perl5