Create a Python script to generate a random list of integers of the specified length.
import random

def generate_list(length):
    lst = []
    for i in range(length):
        lst.append(random.randint(0, 100))
    return lst