updated the head.js with dbmaintenance config