Another thing, keilmillerjr...
This line of code
local film = fe.add_image("posters/films/" + films[randInt(films.len())] + ".png", 0, 0, 0, 0);
has a small error.
This would be the correct
local film = fe.add_image("posters/films/" + films[randInt(films.len()-1)] + ".png", 0, 0, 0, 0);