Add timestamp to test debug log
Improvements to headless script
Document headless configuration