Debugged it all, it's all opperational now