Add changes for init.d service