further work done, pretty much only need a smart way of publishing data
accidentally deleted an include statement, its corrected