work on selection, if there is one

and take the entire score otherwise