Modifying preprocess and theme override functions