modifide programm. now it use command line args