Create toplayers.r