re-structure init.d