hoping these changes will work with headless on Jenkins.