We can remove this ON_PREEXECUTE hook too. No need to touch the file every loop iteration.