make sure at least one path is given
allow multiple paths to be given