Ignores directories with generated content
Replaces static class variables to prevent using wrong context
Fixes usage of wrong site in performance test