added Optparse for cmdline