add script for generate key.pem