return output from gen script to unity window