Add the PLAYBOOK_RETRIES to the config file and improve the config code