fixes init script