add the feature in loadYaml method to load the ontime in map Yaml