init script was not working on linux