feature #539 index-pretemplate hook before theme functions include