minor changes to sagan-external,  confirmed functional.