add include_plugin function for optoinal plugins