initial support for mode arguments from command line