add auto-generated information when creating head files