cleaning up build process and generating build with dependencies included