[TASK] Use EM script for safe reflection cache clearing