fix rebuild script to use fingerprints file