[TASK] Clean up trigger condition and record load function