Added processing of the cmd parameters