clean up init.d script to match new regime