automatically load models in trails plugin