Added a check to see if the deamon is running or not