Added simple commandline processing