Create loop_handler.php