add gen key command