Added config file, and option for defining the name of a different get_current_json function