visible and file_path parameters passed in SM

Checks SM struct for two new attributes
visible attribute for displaying plots 
file_path attribute passed as plot title