more init script fixes