updated to use playbook's global vars