Fixed init script to actually work with CentOS