Fix return codes
Add RESTART_PROGRAM command