Added maximum range to get resources