add command dicrectory writed by python