Updated init script. Need to un a test on this at some point