Fix nginx installation

Add create directory LaunchAgents if not exitst