Added permissions fix and launchctl start to nginx