Adding cmdctrl script