Changed init script to use sudo rather than su as it was not working properly in the background (env)