Implemented custom variables for plot title and output fn