added init to rc.d