Add support for custom current path format