DEBUG: updated filter to run in footer from theme folder