Added option to send commands from command line