Clean up shell scripts

Fix up shell scripts with control.c no longer.