       to: 'now'
     }
     variables = ''
+    template_params = []
     pid = false
     pname = false
 

        # Check if it's a variable or part of the timespan
        if part.indexOf('=') >= 0
          variables = "#{variables}&var-#{part}"

        # Only add to the timespan if we haven't already filled out from and to
        else if timeFields.length > 0

    robot.logger.debug slug
    robot.logger.debug timespan
    robot.logger.debug variables
    robot.logger.debug template_params
    robot.logger.debug pid
    robot.logger.debug pname

