split up init script