Add script to generate unique keys