Fixed init script for ubuntu 14