Reorganize pem generation instructions