added command line to specificy desired percentiles