Made call() and split_cmd function