adding the egg loader to template loaders