bug & renamed local_cmd

Signed-off-by: Ken Barber <ken@bob.sh>