Slight modifications related to the name script in the daemon script