added passing of number of time slices to analyze via the shell script