Create a Python script to loop over a list of numbers and print out each value if it is greater than five.
list = [1, 2, 3, 4, 5, 6, 7, 8]
def loop_list(list):
    for i in list:
        if i > 5:
            print(i)