Updated init.d script

Now tested init.d script. Seems to work as expected