Adding custom functions to the masthead