Add the new generate_state_keys.sh helper script