improves pem file locations

improves pem file locations.
Iif you provide an absolute path is used as is.
If a relative path is provided, this is placed from the project
directory app.