It works now! I had to change the files to my last backup to test something different and tried it again later and now everything is fine. I don't know what was wrong the first time, perhaps any syntax error.