Modernize the init script a bit