changing url to ghost init script and stopping use of sudo