add check for existing conf file to prevent overwriting