Only if no headers sent, set the 3 headers