fixed the build and made figures files