Add decorator for the main functions in data.runs so that we can initialize the logger.