pre dispatch request param handling
added commandline param parsing