fix up key creation script