Fixed integration period and added header block.