fixed create-keys script