Added checking for stop_daemons file