Will now loop through different AMIs