Make an ugly but working init script