Broke out extension choosing function