add support for multiple base path variable