Improved error handling
League params now via JSON, not hard-coded