fixed typo, rearranged shoal_agent program.