Only loads register function on sub-sites