Got it to work without having to go in the code
For some reason the code spontaneously combusted before I made the update