Added util_before / util_after functions