hook in Server to command line