Create generate_state_keys.sh

Saves us some typing