updated complex ammm to use summary file