Removing the model check for hathor and working with the active template from the application