Fixed syntax error
Fixed HEADLESS variable