amended library to stop at first element, and added required tags to the scores file