add switch between MONO/POLY from command line.