fixed random build problem (looking in the wrong place for headers) and added bar length to time