optimized command line options and functions updates