added view leagues and view teams scripts