fix warnings, add scripts to export to fips tree