working on the init.d script