Was working beautifully then I changed something and now its broken, Im an idiot