added ability for a service to be persistent