shell command handler