Fetching script now grabs list of competitions, uses that; also, refactored