Added support for multiple input paths