Moves pathformatting to "plugin"