Working init script