Fixing some path issues and adding the certificates