keys file creation, shell improuving