added command line arguments

specify the initial detector.