init source code for CMD