fixing up build with needed stuff and output