modified the template directory and also the plugin integration