Update source agent init script to give more standard exit codes