Worked on the build functions, modified output_print