Added header detetction method for Solodev CMS