Added switch -i to force series-id