Add option for configuration file in local mode. Usefull when need to do action for the media or log.