Updated init-script to work with hammerhead