Added new functions, auto-label-detection for many function