Added cmd via -c switch