added init.d for service control