some changes to init script