Modify configuration file to annotation