fix init script such that it actually works...