Totally rewrite plugin file paths resolving