start python script to generate keys