Nevermind, looks like it was an error in the script itself.