Removecmd

Removed the 'cmd =' as it wasn't being used.